package com.zz.ai.func;

import java.util.function.Function;

public class GetHotelAddressFunction implements Function<GetHotelAddressFunction.Request, String> {
    @Override
    public String apply(GetHotelAddressFunction.Request request) {
//        if (request.hotelCode != null){
//            return "";
//        }
        System.out.printf("%s GetHotelAddressFunction apply",request.hotelCode);
        return "http://192.168.0.86:9083";
    }

    public record Request(String hotelCode) {

    }


}
